Two seconds later, as the suspend timeouts expire, the first request is retrieved from the pending queue and resubmitted to the ContinuationServlet.
两秒后,当超过suspend的时限后,将从等待队列中检索第一个请求,并将其重新提交给ContinuationServlet。
The server maintains a queue of pending requests, executes them one after another instead of executing one, reads the next request from the wire, and so on.
服务器维护一个挂起请求队列,依次地执行它们,而不是先执行一个请求,然后再读取下一个请求,等等。
But instead of sending any response to the client as a result of the exception, the request is held in a queue of pending Continuations, and the HTTP connection is kept open.
但是发生该异常之后并没有将响应发送给客户机,请求被放到处于等待状态的Continuation队列中,而HTTP连接仍然保持打开状态。
应用推荐